package k2_oop.p2_inheritAndPolymorphic.demo03;

public class Bird extends Animal{
    @Override
    public void speak() {
        System.out.println("叽叽喳喳");
    }

    public void eat(){
        System.out.println("鸟不会干别的，只会吃");
    }
}
